package com.hznu.stmanage.dao;

import com.hznu.stmanage.entity.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    /**
     * 根据工号查找教师
     * @param teacherID
     * @return
     */
    Teacher selectByID(@Param("id") String teacherID);
}